package com.fumin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author xiayuxuanmin
 * @Date 2019/10/25
 * @Description
 */
@Controller
@RequestMapping("/admin")
public class AdminController {

    /**
     * 登录成功之后的默页面
     * @return
     */
    @RequestMapping("/index.page")
    public ModelAndView index(){
        return new ModelAndView("admin");
    }
}
